package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 访客信息表
 * </p>
 *
 * @author cc
 * @since 2022-05-30
 */
@Getter
@Setter
@TableName("core_visitor")
@ApiModel(value = "CoreVisitor对象", description = "访客信息表")
public class CoreVisitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("openId")
    private String openId;

    @ApiModelProperty("手机号")
    private String tel;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("单位")
    private String company;

    @ApiModelProperty("身份证号")
    private String cardNo;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;


}
